@use "sass:map";
@use "./mixins/link.scss" as *;

$types: "primary", "success", "warning", "error", "info";

.th-link {
  display: inline-block;
  padding: 5px;
  cursor: pointer;
}

.th-link__underline {
  text-decoration: underline;
}

@each $type in $types {
  .th-link__#{$type} {
    @include link-type($type);
    &:hover {
      @include link-hover($type);
    }
  }
}
